{% load staticfiles %}
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="renderer" content="webkit">

    <meta name="keywords" content="{% block keywords %}{% endblock %}">
    <meta name="description" content="{% block description %}{% endblock %}">


    <link href="{% static 'xadmin/layui/css/layui.css' %}" rel="stylesheet">

</head>

<body style="background-color: white;">
    <div class="container">
        <form class="layui-form" action="" style="padding: 20px 20px 20px 10px;" method="post"> {% csrf_token %}
                <p style="color:red;text-align: center;margin-bottom: 10px;">{{ error }}</p>
              <div class="layui-form-item">
                <label class="layui-form-label">原密码</label>
                <div class="layui-input-block">
                  <input type="password" name="password" value="{{ password }}" required  lay-verify="required" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">新密码</label>
                <div class="layui-input-block">
                  <input type="password" name="newpassword" value="{{ newpassword }}" required  lay-verify="required" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">确认新密码</label>
                <div class="layui-input-block">
                  <input type="password" name="newpassword1" value="{{ newpassword1 }}" required  lay-verify="required" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <div class="layui-input-block">
                  <button class="layui-btn" lay-submit lay-filter="formDemo" type="submit">立即提交</button>
                </div>
              </div>
        </form>
    </div>

    <script src="{% static 'xadmin/js/jquery-2.1.1.min.js' %}"></script>
    <script src="{% static 'xadmin/layui/layui.all.js'%}"></script>


    <script>





    </script>
</body>

</html>